package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@TableName("sys_leave")
@Data
public class Leave {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String courseName;
    private String reason;
    private String stuName;
    private String applyTime;
    private String auditTime;
//    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd", locale = "zh", timezone = "GMT+8")
    private String leaveDate1;
//    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd", locale = "zh", timezone = "GMT+8")
    private String leaveDate2;

    private Integer status;

}
